package com.zretc.notice.Dao;

import com.zretc.notice.pojo.Activity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ActivityDao extends JpaRepository<Activity,Integer> {



    List<Activity> findAllByIsShow(Integer isShow);

    Activity findByActivityId(Integer activityId);
}
